package com.lei.chinese_herbal_medicine.Entity;

import org.springframework.stereotype.Component;

import javax.xml.crypto.Data;
import java.util.List;
import java.util.Map;

/**
 * 通一结果集返
 */
@Component
public class Result {
    private Integer code;
    private Integer count;
    private List list;
    private Map data;

    @Override
    public String toString() {
        return "Result{" +
                "code=" + code +
                ", count=" + count +
                ", list=" + list +
                ", data=" + data +
                '}';
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Map getData() {
        return data;
    }

    public void setData(Map data) {
        this.data = data;
    }

    public Result() {
    }
}
